package com.boruiimage.demo.doMain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class memberuser {
    private String userName;
    Integer id;
   Integer systemCount;
   Integer personCount;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date data;
    Integer memberCode;
    Integer systemUseNum;
    Integer personUseNum;

    public memberuser(Integer id, String userName, Integer systemCount, Integer personCount, Date data, Integer memberCode, Integer systemUseNum, Integer personUseNum) {
        this.id = id;
        this.userName = userName;
        this.systemCount = systemCount;
        this.personCount = personCount;
        this.data = data;
        this.memberCode = memberCode;
        this.systemUseNum = systemUseNum;
        this.personUseNum = personUseNum;
    }

    public memberuser(String userName, Integer systemCount, Integer personCount, Date data, Integer memberCode, Integer systemUseNum, Integer personUseNum) {
        this.userName = userName;
        this.systemCount = systemCount;
        this.personCount = personCount;
        this.data = data;
        this.memberCode = memberCode;
        this.systemUseNum = systemUseNum;
        this.personUseNum = personUseNum;
    }

    public memberuser() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getSystemCount() {
        return systemCount;
    }

    public void setSystemCount(Integer systemCount) {
        this.systemCount = systemCount;
    }

    public Integer getPersonCount() {
        return personCount;
    }

    public void setPersonCount(Integer personCount) {
        this.personCount = personCount;
    }

    public Date getData() {
        return data;
    }

    public void setData(Date data) {
        this.data = data;
    }

    public Integer getMemberCode() {
        return memberCode;
    }

    public void setMemberCode(Integer memberCode) {
        this.memberCode = memberCode;
    }

    public Integer getSystemUseNum() {
        return systemUseNum;
    }

    public void setSystemUseNum(Integer systemUseNum) {
        this.systemUseNum = systemUseNum;
    }

    public Integer getPersonUseNum() {
        return personUseNum;
    }

    public void setPersonUseNum(Integer personUseNum) {
        this.personUseNum = personUseNum;
    }

    @Override
    public String toString() {
        return "memberuser{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", systemCount=" + systemCount +
                ", personCount=" + personCount +
                ", data=" + data +
                ", memberCode=" + memberCode +
                ", systemUseNum=" + systemUseNum +
                ", personUseNum=" + personUseNum +
                '}';
    }
}
